package dynamic.ibatis.executor.keygen;

import dynamic.ibatis.executor.DExecutor;
import dynamic.ibatis.mapping.DMappedStatement;

import java.sql.Statement;

public class DNoKeyGenerator implements DKeyGenerator {

    /**
     * A shared instance.
     *
     * @since 3.4.3
     */
    public static final DNoKeyGenerator INSTANCE = new DNoKeyGenerator();

    @Override
    public void processBefore(DExecutor executor, DMappedStatement ms, Statement stmt, Object parameter) {
        // Do Nothing
    }

    @Override
    public void processAfter(DExecutor executor, DMappedStatement ms, Statement stmt, Object parameter) {
        // Do Nothing
    }

}

